#include "iotekstring.cpp"
// 只 include .h 文件不行的。只 include .cpp 文件倒是可以的。

using namespace iotek;

int main(int argc, const char * argv[]) {

  String a;
  cout << "|" << a.data() << "|" << endl;

  String b("hellworld");
  cout << b.data() << endl;

  String c = b;
  cout << c.data() << endl;

  String d("xxx");

  String e;
  e = b + d;
  cout << e.data() << endl;

  String f;
  f = b + "yyy";
  cout << f.data() << endl;

  String g("haha ");
  g += b;
  cout << g.data() << endl;

  String h("hehe ");
  h += "zzz";
  cout << h.data() << endl;

  return 0;
}